class Test1 
{
	public static void main(String[] args) 
	{
		/*int x = 10;
		while(x < 20){
			System.out.println("value of x :" + x);
			x++;
			System.out.println("\n");
		}
	}*/
	/*int x = 10;
	do{
		System.out.println("value of x:" + x);
		x++;
		System.out.println("\n");
	}while(x<20);*/
	
		/*for(int x = 0; x <= 20; x=x+1){
			System.out.print("value of x:" + x);
			System.out.println("\n");
		}*/
		int[] numbers = {10,20,30,40,50};
		
		for(int x:numbers){
			System.out.println(x);
			System.out.println(",");
		}

		System.out.println("\n");
		String[] names = {"James", "Larry", "Tom", "Lacy"};
		for(String name:names){
			System.out.println(name);
			System.out.println(",");
		}

	}
}
